import React, {Component} from 'react';
import Child from "./Child";

export default class extends Component {     // 可以在引入的时候自定义名称
    render() {
        return (
            <>
                <h1>data</h1>
                <Child>
                    <div>插槽：slot</div>
                </Child>
            </>
        );
    }
}